package com.example.baweyplayer.abstracts;


public class SynchronizedSingleton {
	private static SynchronizedSingleton instance = null;

	protected SynchronizedSingleton(){
		
	}

	public static SynchronizedSingleton getInstance() {
		if (instance == null) {
			synchronized (instance) {
				if (instance == null) {
					instance = new SynchronizedSingleton();
				}
			}
		}
		return instance;
	}
}
